package com.cmwa.solution.utils;
/**
 * 常量
 * @author Lenovo
 *
 */
public class Constant {
	
	public final static String CAPTCHA = "solution_captcha";
	
	/**
	 * 成功状态
	 */
	public static final int SUCCESS = 1;
	/**
	 * 失败状态
	 */
	public static final int FAILURE = 0;
	/**
	 * 有效状态
	 */
	public static final int VALID = 1;
	/**
	 * 无效状态
	 */
	public static final int INVALID = 0;
	/**
	 * 是
	 */
	public final static String YES = "Y";
	/**
	 * 否
	 */
	public final static String NO = "N";
	
	/**
	 * 常量-fail
	 */
	public static final String FAIL = "fail";
	/**
	 * 整型0
	 */
	public static final int INT_ZERO = 0;
	
	/**
	 * 整型1
	 */
	public static final int INT_ONE = 1;
	
	/**
	 * 整型2
	 */
	public static final int INT_TWO = 2;
	
	/**
	 * 整型3
	 */
	public static final int INT_THREE = 3;
	
	/**
	 * 整型4
	 */
	public static final int INT_FOUR = 4;
	
	/**
	 * 整型5
	 */
	public static final int INT_FIVE = 5;
	
	/**
	 * 整型-1
	 */
	public static final int NEGATIVE_ONE = -1;
	
	/**
	 * 整型-2
	 */
	public static final int NEGATIVE_TWO = -2;
	
	/**
	 * 整型-3
	 */
	public static final int NEGATIVE_THREE = -3;
	
	/**
	 * 整型20
	 */
	public static final int INT_TWENTY = 20;
	
	/**
	 * 整型10
	 */
	public static final int INT_TEN = 10;
	
	/**
	 * 整型50
	 */
	public static final int INT_FIFTY = 50;
	
	/**
	 * 整型1000
	 */
	public static final int THOUSAND = 1000;
	
	/**
	 * flot型0.00
	 */
	public static final double DOUBLE_ZERO = 0.00;
	
	/**
	 * 常量-字符串0
	 */
	public static final String CONSTANT_STRING_ZERO = "0";
	
	/**
	 * 常量-字符串1
	 */
	public static final String CONSTANT_STRING_ONE = "1";
	
	/**
	 * 常量-字符串2
	 */
	public static final String CONSTANT_STRING_TWO = "2";
	
	/**
	 * 常量-字符串3
	 */
	public static final String CONSTANT_STRING_THREE = "3";
	
	/**
	 * 常量-字符串4
	 */
	public static final String CONSTANT_STRING_FOUR = "4";
	/**
	 * 常量-字符串5
	 */
	public static final String CONSTANT_STRING_FIVE = "5";
	/**
	 * 常量-字符串6
	 */
	public static final String CONSTANT_STRING_SIX = "6";
	/**
	 * 常量-字符串7
	 */
	public static final String CONSTANT_STRING_SEVEN = "7";
	/**
	 * 常量-字符串8
	 */
	public static final String CONSTANT_STRING_EIGHT = "8";
	/**
	 * 常量-字符串9
	 */
	public static final String CONSTANT_STRING_NINE = "9";
	/**
	 * 常量-字符串10
	 */
	public static final String CONSTANT_STRING_TEN = "10";
	/**
	 * 常量-字符串11
	 */
	public static final String CONSTANT_STRING_ELEVEN = "11";
	
	/**
	 * 常量-字符串12
	 */
	public static final String CONSTANT_STRING_TWELVE = "12";
	/**
	 * 常量-字符串13
	 */
	public static final String CONSTANT_STRING_THIRTEEN = "13";
	/**
	 * 常量-字符串14
	 */
	public static final String CONSTANT_STRING_FOURTEEN = "14";
	/**
	 * 常量-字符串15
	 */
	public static final String CONSTANT_STRING_FIFTEEN = "15";
	/**
	 * 常量-字符串16
	 */
	public static final String CONSTANT_STRING_SIXTEEN = "16";
	/**
	 * 常量-字符串17
	 */
	public static final String CONSTANT_STRING_SEVENTEEN = "17";
	/**
	 * 常量-字符串18
	 */
	public static final String CONSTANT_STRING_EIGHTEEN = "18";
	/**
	 * 常量-字符串19
	 */
	public static final String CONSTANT_STRING_NINETEEN = "19";
	/**
	 * 常量-字符串20
	 */
	public static final String CONSTANT_STRING_TWENTY = "20";
	/**
	 * 常量-字符串21
	 */
	public static final String CONSTANT_STRING_TWENTY_ONE = "21";
	
	/**
	 * 常量-字符串-1
	 */
	public static final String CONSTANT_STRING_NEGATIVE_ONE = "-1";
	
	/**
	 * 常量-字符串-2
	 */
	public static final String CONSTANT_STRING_NEGATIVE_TWO = "-2";
	
	/**
	 * 常量-字符串-3
	 */
	public static final String CONSTANT_STRING_NEGATIVE_THREE = "-3";
	
	/**
	 * 常量-字符串-4
	 */
	public static final String CONSTANT_STRING_NEGATIVE_FOUR = "-4";
	
	/**
	 * 常量-字符串-5
	 */
	public static final String CONSTANT_STRING_NEGATIVE_FIVE = "-5";
	
	/**
	 * 常量-字符串-6
	 */
	public static final String CONSTANT_STRING_NEGATIVE_SIX = "-6";
	
	/**
	 * 常量-字符串-7
	 */
	public static final String CONSTANT_STRING_NEGATIVE_SEVEN = "-7";
	
	/**
	 * 常量-字符串-8
	 */
	public static final String CONSTANT_STRING_NEGATIVE_EIGHT = "-8";
	
	/**
	 * 常量-字符串-9
	 */
	public static final String CONSTANT_STRING_NEGATIVE_NINE = "-9";
	
	/**
	 * 数据状态值 已暂存
	 */
	public static final String C_STATUS_I="I";
   /**
    *  数据状态：已提交
    */
	public static final String C_STATUS_S="S";
	/**
	 * 数据状态：已复核
	 */
	public static final String C_STATUS_C="C";
	/**
	 * 数据状态值 已删除
	 */
	public static final String C_STATUS_D="D";
	/**
	 * 数据状态值 无
	 */
	public static final String C_STATUS_NA="NA";
	/**
	 * N
	 */
	public static final String C_STATUS_N="N";
	/**
	 * Y
	 */
	public static final String C_STATUS_Y="Y";
	/**
	 * P
	 */
	public static final String C_STATUS_P="P";
	/**
	 * 数据状态：已驳回
	 */
	public static final String C_STATUS_R="R";
	/**
	 * 系统操作
	 */
	public static final String SYSTEM = "system";

	/**
	 *  文件上传最大值
	 */
	public static final long MAX_UPLOAD_FILE_SIZE = 10 * 1024 * 1024 * 3;// 30M
	
	/**
	 * 电子合同文件上传最大值
	 */
	public static final long MAX_ECTRINIC_CONTRACT_FILE_SIZE = 1024 * 1024 *200; //200M
	/**
	 * 文件上传成功标志
	 */
	public static final String FILE_UPLOAD_SUCCESS = "success";
	/**
	 * 文件上传失败标志
	 */
	public static final String FILE_UPLOAD_ERROR = "err";
	/**
	 * 角色类型
	 */
	public final static String DCTTYPE_ROLE_XXX_TYPE = "ROLE_XXX_TYPE";
	/**
	 * 是否状态
	 */
	public final static String DCTTYPE_DAT_YES_NOX = "DAT_YES_NOX";
	/**
	 * 权限类型: 普通
	 */
	public static final String   AUTHORITY_TYPE1  = "1";
	/**
	 * 数据状态
	 */
	public final static String DCTTYPE_DAT_CHK_SAT = "DAT_CHK_SAT";
	
	/**
	 * 菜单栏级别菜单
	 */
	public final static String MENU_TYPE = "0";
	/**
	 * 操作按钮级别的菜单
	 */
	public final static String BUTTON_MENU_TYPE = "1";
	
	/**
	 * solution 当前用户左边菜单缓存 key
	 */
	public final static String solution_MENU_CACHE = "solutionMenuCache";
	
	/**
	 * 数据角色-系列产品
	 */
	public final static String ROLE_TYPE1 = "1";
	
	/**
	 * 岗位
	 */
	public final static String USERTREE_STATION_PREFIX = "ST-";
	
	/**
	 * 人员
	 */
	public final static String USERTREE_EMP_PREFIX = "EMP-";
	
	/**
	 * 公司
	 */
	public final static String USERTREE_FIRM_PREFIX = "FIRM-";
	public final static String USERTREE_SPILT = "-";
	
	/**
	 * 生产配置
	 */
	public final static String SYSTEM_ENVIRONMENT_P = "P";
	/**
	 * 测试配置
	 */
	public final static String SYSTEM_ENVIRONMENT_T = "T";
}

